﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddArea.aspx.cs" Inherits="BuXiaChu.OrderDishes.Web.Admin.City.AddArea" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register TagPrefix="Menu" TagName="Header" Src="~/Modules/Menu/Header.ascx" %>
<%@ Register TagPrefix="Menu" TagName="Footer" Src="~/Modules/Menu/Footer.ascx" %>
<%@ Register TagPrefix="Menu" TagName="CityLeft" Src="~/Modules/Menu/CityLeft.ascx" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link media="screen, projection" rel="stylesheet" type="text/css" href="/css/Blueprint/screen.css" />
    <link media="screen, projection" rel="stylesheet" type="text/css" href="/css/main.css" />

    <script type="text/javascript" src="/js/Extend.js"></script>

    <script type="text/javascript" src="/js/Common.js"></script>

    <script type="text/javascript" src="/js/jquery-vsdoc.js"></script>

</head>
<body>
    <div class="container">
        <Menu:Header ID="Header1" runat="server" />
        <form id="form1" runat="server">
        <Menu:CityLeft ID="menu_CityLeft" runat="server" />
        <div class="span-20 last">
            <div class="boxc">
                <div class="boxc">
                    <a href="Area.aspx?areaid=<%=Request.QueryString["areaid"] %>">返回</a></div>
                <div class="boxc">
                    <% if (message != "")
                       {%>
                    <div class="notice">
                        <%= message %>
                    </div>
                    <%} %>
                    <div>
                        <span>区域名称：</span>
                        <input type="text" id="txt_Name" runat="server" /></div>
                    <div>
                        <span>区域编码：</span>
                        <input type="text" id="txt_CityCode" runat="server" /></div>
                    <div>
                        <span>所属城市：</span>
                        <select id="sel_ParentId" runat="server">
                        </select>
                    </div>
                    <div>
                        <span>备注：</span>
                        <textarea id="txt_Remarks" style="width: 100px; height: 100px;" runat="server"></textarea></div>
                    <input type="submit" value="提交" />
                </div>
            </div>
        </div>
        </form>
        <Menu:Footer ID="Footer1" runat="server" />
    </div>
</body>
</html>

<script type="text/javascript" src="../js/City/City.js"></script>

<script type="text/javascript">
    jDoc("form1").onsubmit = function() {
        if (jDoc("txt_Name").value.trim() == "") {
            jDoc("txt_Name").focus();
            alert("输入名称");
            return false;
        }
        return true;
    }
</script>

